﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MemberManage.aspx.cs" Inherits="MemberManage" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Assembly="WGLGridView" Namespace="WGLGridView" TagPrefix="wgl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link href="css/grid.css" rel="stylesheet" type="text/css" />
<link href="css/forms.css" rel="stylesheet" type="text/css" />
    <title>用户管理</title>
<script language="javascript" type="text/javascript" src="gridviewsel.js"></script>
</head>
<body>
<div class="tabTitle">
  <h1>用户管理</h1>
</div>
    <form id="detailform" runat="server" defaultbutton="btnSearch">
		<asp:Label ID="operaterLabel" runat="server" Visible="False"></asp:Label>

		<div class="SearchTable">
            姓名
            <asp:TextBox ID="tbRealName" name="tbRealName" class="Shot_Text3" runat="server"></asp:TextBox>
			门店
            <asp:TextBox ID="tbMDName" name="tbMDName" class="Shot_Text3" runat="server"></asp:TextBox>

            <asp:Button ID="btnSearch" runat="server" name="btnSearch" class="bt_Search" 
                onclick="btnSearch_Click"/>
        </div>

		<div id="div_table">
			<wgl:WGLGridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
				Width="99%" CellPadding="4" ForeColor="#333333" GridLines="Both" Font-Size="10" SelectedIndex="-1" onrowdatabound="GridView1_RowDataBound" >
				<Columns >
					<asp:BoundField DataField="StateName" HeaderText="使用"/>
					<asp:BoundField DataField="MemberName" HeaderText="用户帐号"/>
					<asp:BoundField DataField="RoleName" HeaderText="部门" />
					<asp:BoundField DataField="RealName" HeaderText="姓名" />
					<asp:BoundField DataField="Phone" HeaderText="电话"/>
					<asp:BoundField DataField="Introduction" HeaderText="门店名称"/>
					<asp:BoundField DataField="Address" HeaderText="门店地址"/>
					<asp:BoundField DataField="AddDate" HeaderText="时间"/>
                    <asp:TemplateField HeaderText="操作">
	                    <ItemTemplate>
			                <a href='AddMember.aspx?ArticleId=<%#Eval("MemberId")%>'>修改</a>
				        </ItemTemplate>                                                            
                    </asp:TemplateField>
				</Columns>
				<HeaderStyle HorizontalAlign="Center" BackColor="#eeeeee" Font-Bold="True" ForeColor="#666666" />
				<RowStyle HorizontalAlign="Center" BackColor="#d7d4e5" />
				<SelectedRowStyle BackColor="#0099FF" ForeColor="#FFFFFF" />
				<AlternatingRowStyle BackColor="White" />
			</wgl:WGLGridView>
		</div>
		<div id="page">			
			<div class="page1">
				<webdiyer:AspNetPager ID="AspNetPager1" runat="server" 
					AlwaysShow="True" FirstPageText="首页" LastPageText="尾页" NextPageText="下一页" 
					PrevPageText="上一页" ShowInputBox="Always" 
					OnPageChanged="AspNetPager1_PageChanged" ShowBoxThreshold="10" Width="500px" 
					PageSize="20">
				</webdiyer:AspNetPager>
			</div>
			<div class="page2"><asp:Label ID="recLabel" runat="server" Text=""/></div>
			<div class="clear"></div>
		</div>
	</form>
</body>
</html>
